// JavaScript Document

/*
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("language", "1");

function initialize() {
	var text = document.getElementById("text").innerHTML;
	google.language.detect(text, function(result) {
				if (!result.error && result.language) {
					google.language.translate(text, result.language, "en",
								function(result) {
									var translated = document.getElementById("translation");
									if (result.translation) {
										translated.innerHTML = result.translation;
									}
								});
				}
			});
}
google.setOnLoadCallback(initialize);

//
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("language", "1");</script>
*/

document.write('<script type="text/javascript" src="http://www.google.com/jsapi"></script>');
document.write('<script type="text/javascript">');
document.write('google.load("language", "1");');
document.write('google.setOnLoadCallback(translate_page);');
document.write('</script>');

//
function translate_text() {
	
}

function translate_page() {
	
}